<?php

namespace addons\yunfood\model;

use addons\yunfood\library\ModelTrait;
use think\Model;

/**
 * 打印 - 打印记录
 */
class PrinterRecord extends Model
{
    use ModelTrait;

    // 表名,不含前缀
    protected $name = 'yunfood_printer_record';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;

    // 定义时间戳字段名
    protected $updateTime = 'updated_at';
    protected $createTime = 'created_at';

    protected $resultSetType = 'collection';
}
